$primary-empty-color: #EBF8F5;
$colorPrimary: #1890ff;
$colorSuccess: #13ce66;
$colorWarning: #ffba00;
$colorDanger: #ff4949;
$colorInfo: #5d5d5d;

#app {
    height: 100%;
    overflow: auto;
    background-color: rgba(250, 248, 248, 0.98);
}

html {
    margin: 0;
    padding: 0;
}

body {}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "iconfont";
    /* Project id 4673232 */
    src: url('iconfont.woff2?t=1725411190757') format('woff2'),
        url('iconfont.woff?t=1725411190757') format('woff'),
        url('iconfont.ttf?t=1725411190757') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.c-primary {
    color: $colorPrimary !important;
}

.c-success {
    color: $colorSuccess !important;
}

.c-warning {
    color: $colorWarning !important;
}

.c-danger {
    color: $colorDanger !important;
}

.c-info {
    color: $colorInfo !important;
}

.container {}


.ant-btn {
    &.ant-btn-primary {
        background-color: $colorPrimary !important;
        border-color: $colorPrimary !important;

        &:active {
            background-color: $colorPrimary !important;
            border-color: $colorPrimary !important;
            box-shadow: 0 0 0 2px $colorPrimary !important;
        }

        &:focus {
            background-color: $colorPrimary !important;
            border-color: $colorPrimary !important;
        }

        &:hover {
            color: #fff !important;
            background-color: #3C9FFA !important;
            border-color: #3C9FFA !important;
        }

    }

    &.ant-btn-default {
        border-color: $colorPrimary !important;
        color: $colorPrimary !important;
        background-color: #EEF2FE !important;

        &:hover {
            background-color: $colorPrimary !important;
            color: #EEF2FE !important;
            border-color: $colorPrimary !important;
        }
    }

    &.ant-btn-warning {
        background-color: $colorWarning !important;
        border-color: $colorWarning !important;
        color: #fff !important;
        &:active {
            background-color: $colorWarning !important;
            border-color: $colorWarning !important;
            box-shadow: 0 0 0 2px $colorWarning !important;
        }

        &:focus {
            background-color: $colorWarning !important;
            border-color: $colorWarning !important;
        }

        &:hover {
            color: #fff !important;
            background-color: $colorWarning !important;
            border-color: $colorWarning !important;
        }

    }

    &.ant-btn-success {
        background-color: $colorSuccess !important;
        border-color: $colorSuccess !important;

        &:active {
            background-color: $colorSuccess !important;
            border-color: $colorSuccess !important;
            box-shadow: 0 0 0 2px $colorSuccess !important;
        }

        &:focus {
            background-color: $colorSuccess !important;
            border-color: $colorSuccess !important;
        }

        &:hover {
            color: $colorSuccess !important;
            background-color: $colorSuccess !important;
            border-color: $colorSuccess !important;
        }

    }
}

.text-nowarp {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clear-both {
    clear: both;
    width: 100%;
}

.yuan-form {
    .form-panel {
        .yuan-form-col3 {
            width: 30%;
        }
    }

    .yuan-form-col3 {
        .yuan-form-item {
            width: 30%;
        }
    }

    .form-panel {
        .yuan-form-col5 {
            width: 50%;
        }
    }

    .yuan-form-col5 {
        .yuan-form-item {
            width: 50%;
        }
    }

    .yuan-form-item {
        min-width: 300px;
        margin-right: 0;
        width: 100%;
    }

    .yuan-form-row {
        margin-right: 0;
        width: 100%;
    }

    .yuan-form-show {
        max-width: 200px;
        line-height: 26px;
        display: inline-block;
        color: #000;
    }

    .yuan-form-input {
        max-width: 200px;
        //border-color: #eee !important;
    }

    .yuan-form-suf-item {
        .ant-input-suffix {
            right: 0;
        }
    }

    .yuan-form-placeholder {
        font-size: 14px;
        color: #bbb;
    }

    .yuan-form-unit {
        margin: 0 5px;
    }
}

.type-success,
.type-danger,
.type-primary,
.type-warning {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 14px;
}

.type-success {
    background: rgba(4, 209, 103, 0.1);
    color: #04d167;
}

.type-danger {
    background: rgba(233, 70, 55, 0.1);
    color: #e94637;

}

.type-primary {
    background: rgba(47, 101, 243, 0.1);
    color: #2F65F3;

}

.type-warning {
    background: #FFD706;
    color: #fff;

}

.my-type-list {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    margin-right: 4px;
    font-size: 14px;
}

.my-type-list:nth-child(1) {
    background: rgba(4, 209, 103, 0.1);
    color: #04d167;
}

.my-type-list:nth-child(2) {
    background: rgba(47, 101, 243, 0.1);
    color: #2F65F3;

}

.my-type-list:nth-child(3) {
    background: rgba(233, 70, 55, 0.1);
    color: #e94637;
}

.my-type-list:nth-child(4) {
    background: #FFD706;
    color: #fff;
}

.filter-panel {
    overflow: hidden;

    .ant-input-search {
        width: 200px;
    }

    .ant-select {
        width: 200px;
    }

    .ant-input {
        width: 200px;
    }

    .filter-input {
        width: 200px;
    }

    .filter-list {
        margin-right: 30px;
        display: inline-block;
        margin-bottom: 10px;
        vertical-align: top;
    }

    .filter-range {
        .ant-input {
            width: 60px;
        }
    }

    .filter-tips {
        line-height: 32px;
        display: inline-block;
        margin: 0 4px;
        font-size: 14px;
    }
}

.list-null {
    text-align: center;
    color: #999;

    .iconfont {
        font-size: 40px;
    }
}

.search-panel {
    width: 1350px;
    margin: 30px auto;
    padding: 20px 40px;
    background-color: #fff;
    .search-top{
        display: flex;
        align-items: center;

    }
    .search-top-btn{
        margin-left: 10px;
    }
    .search-switch {
        display: inline-flex;
        width: 140px;
        height: 38px;
        align-items: center;
        justify-content: center;

        background: rgba(47, 101, 243, 0.1);
        border-radius: 6px;
        border: 1px solid #2F65F3;
        color: #2F65F3;
        cursor: pointer;
        .anticon{
            margin: 0 5px;
            transform: translateY(2px);
        }
    }
    .search-main{
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s;
       
    }
    .search-main-show{
        max-height: 500px;
        padding: 20px 0;
        margin-top: 10px;
        border-top: solid 1px #eee;
    }
    .search-row{
        margin-bottom: 20px;
    }
    .search-title{
        color: #000;
        margin-bottom: 5px;
    }
    .search-input{
        width: 150px;
    }
    .search-action{
        color:#2F65F3;
        text-align: center;
        border-top: solid 1px #eee;
        padding-top: 10px;
        cursor: pointer;
        .anticon{
            margin: 0 5px;
            transform: rotate(90deg);
        }
    }
}

.ant-checkbox-wrapper {
    margin-right: 15px;
}

.ant-checkbox-wrapper+.ant-checkbox-wrapper {
    margin-left: 0;

}

.ant-modal-body {
    overflow: auto;
    max-height: calc(100vh - 180px);
}


.ant-carousel .custom-slick-arrow {
    width: 50px;
    height: 50px;
    font-size: 50px;
    color: #fff;
    opacity: 0.9;
}
.ant-carousel .custom-slick-arrow:before {
    display: none;
}
.ant-carousel .custom-slick-arrow:hover {
    opacity: 1;
}

.w-e-text-placeholder{
    top: 5px;
}